home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 33
/
Volume 33 - JOGO DISK .iso
/
Games
/
space_escape.swf
/
scripts
/
DefineSprite_237_game_world_powerUps_U#rotateP
/
frame_1
/
DoAction.as
Wrap
Text File
|
2007-01-15
|
436b
|
12 lines
this.onEnterFrame = function()
{
var _loc1_ = _root;
var _loc2_ = this;
if(_loc1_.game.ship.hitTest(_loc2_._x + _parent._parent._x,_loc2_._y + _parent._parent._y,true) && _loc1_.game.ship.active == true)
{
_loc1_.game.ship.rotate += (_loc1_.limitsArray[2][1] - _loc1_.limitsArray[2][0]) / 3;
_loc1_.game.world.powerUpsTextMessage(_loc2_._x,_loc2_._y,"Rotate+");
removeMovieClip(_loc2_);
}
};